using System;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations.Schema;

namespace Augustu.Models.WMS
{
    [Table("Purchase")]
    public class Purchase : BaseModel
    {
[Column("Id")]
         public long  Id{ get; set;}
[Column("PurchaseNo")]
         public string  Purchaseno{ get; set;} = string.Empty;
[Column("CustomerId")]
         public long?  Customerid{ get; set;}
[Column("CompanyId")]
         public long?  Companyid{ get; set;}
[Column("PurchaseDate")]
         public DateTime?  Purchasedate{ get; set;}
[Column("PurchaseQty")]
         public int  Purchaseqty{ get; set;}
[Column("PackagesQty")]
         public int  Packagesqty{ get; set;}
[Column("StockInQty")]
         public int  Stockinqty{ get; set;}
[Column("LockStatue")]
         public int  Lockstatue{ get; set;}
[Column("Remarks")]
         public string  Remarks{ get; set;} = string.Empty;
[Column("CreateTime")]
         public DateTime?  Createtime{ get; set;}
[Column("CreateUserId")]
         public string  Createuserid{ get; set;} = string.Empty;
[Column("UpdateTime")]
         public DateTime?  Updatetime{ get; set;}
[Column("UpdateUserId")]
         public string  Updateuserid{ get; set;} = string.Empty;
[Column("IsDeleted")]
         public int  Isdeleted{ get; set;}

    }
}
          
